package com.xiepei.day01;

public class Test01 {
    public static void main(String[] args) {
        Person p1 = new Person("张三", 25, "男");

        System.out.println("姓名：" + p1.getName());

        p1.setName("谢培");
        System.out.println("姓名：" + p1.getName());

        p1.setAge(200);
        System.out.println("年龄：" + p1.getAge());
    }
}
